﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using TyMES.Model.Record;
using TyMES.Model;

namespace TyMES.ViewModel.Record.TrayBindVSNVMs
{
    public partial class TrayBindVSNBatchVM : BaseBatchVM<TrayBindVSN, TrayBindVSN_BatchEdit>
    {
        public TrayBindVSNBatchVM()
        {
            ListVM = new TrayBindVSNListVM();
            LinkedVM = new TrayBindVSN_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class TrayBindVSN_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._TrayBindVSN._TrayCode")]
        public string TrayCode { get; set; }
        [Display(Name = "_Model._TrayBindVSN._VSN")]
        public string VSN { get; set; }
        [Display(Name = "_Model._TrayBindVSN._ScheduleCode")]
        public string ScheduleCode { get; set; }
        [Display(Name = "_Model._TrayBindVSN._orderCode")]
        public string OrderCode { get; set; }
        [Display(Name = "_Model._TrayBindVSN._lineCode")]
        public string LineCode { get; set; }
        [Display(Name = "_Model._TrayBindVSN._TrayStation")]
        public string TrayStation { get; set; }
        [Display(Name = "_Model._TrayBindVSN._OnLineStation")]
        public string OnLineStation { get; set; }
        [Display(Name = "_Model._TrayBindVSN._OffLineStation")]
        public string OffLineStation { get; set; }
        [Display(Name = "_Model._TrayBindVSN._BindStatus")]
        public TrayBindStatusEnum? BindStatus { get; set; }
        [Display(Name = "_Model._TrayBindVSN._increaseCode")]
        public int? IncreaseCode { get; set; }
        [Display(Name = "_Model._TrayBindVSN._uploadflag")]
        public bool? Uploadflag { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}